public class Goods {
    int price;
    String kind;
    String name;

    public Goods() {
    }

    public Goods(int price, String kind, String name) {
        this.price = price;
        this.kind = kind;
        this.name = name;
    }

    void function(){
        System.out.println("");
    }

    /**
     * 获取
     * @return price
     */
    public int getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(int price) {
        this.price = price;
    }

    /**
     * 获取
     * @return kind
     */
    public String getKind() {
        return kind;
    }

    /**
     * 设置
     * @param kind
     */
    public void setKind(String kind) {
        this.kind = kind;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    public String toString() {
        return "Goods{price = " + price + ", kind = " + kind + ", name = " + name + "}";
    }
}
